<template>
    <div class="app-card">
        <div>
            <el-button
                type="primary"
                @click="open()"
            >
                员工入职登记
            </el-button>
        </div>

        <!-- 员工入职登记表弹窗 -->
        <employment-registration-dialog
            ref="employmentRegistrationDialog"
        />
    </div>
</template>

<script setup>
import { ref } from 'vue'
import EmploymentRegistrationDialog from '@/components/company/EmploymentRegistrationDialog.vue'

const employmentRegistrationDialog = ref(null)

function open() {
    employmentRegistrationDialog.value.open()
}
</script>

<style lang="less" scoped>
.app-card {
    padding: 10px;
}
</style>
